package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 客户要求参数
 * @author LikeAdmin
 */
@Data
@ApiModel("客户要求更新参数")
public class CustomerRequireUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "案件类型")
    private String caseType;

    @ApiModelProperty(value = "要求类型")
    private String requireType;

    @ApiModelProperty(value = "附件名称")
    private String fileName;

    @NotNull(message = "title参数缺失")
    @ApiModelProperty(value = "标题")
    private String title;

    @NotNull(message = "describe参数缺失")
    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "是否有效")
    private String isValid;

    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;

}
